a11y: Make GtkATContext realization lazier
authorEmmanuele Bassi <ebassi@gnome.org>
Thu, 21 Jan 2021 16:39:22 +0000 (16:39 +0000)
committerMatthias Clasen <mclasen@redhat.com>
Sun, 7 Feb 2021 16:32:26 +0000 (11:32 -0500)
commit5fb3dafa7d389035db37577e0cb7ee4759209f7c
treeb714444d396a11e9f200f7f7d65f9ba7fb5dbcb3
parent3ac71e48f1d8ff8393ef41e31fef0825093e2305
a11y: Make GtkATContext realization lazier

We only realize the ATContext on the top level, which will create an
GtkAtSpiRoot object and the corresponding GtkAtSpiCache object. Whenever
an AT connects to the accessibility bus, and asks for the various
objects, all the ATContext will be realized on demand.
gtk/gtkwidget.c
gtk/gtkwidgetprivate.h
gtk/gtkwindow.c